home *** CD-ROM | disk | FTP | other *** search
- Path: nntp.hut.fi!usenet
- From: oahvenla@hyppynaru.cs.hut.fi (Osma Ahvenlampi)
- Newsgroups: comp.sys.amiga.programmer
- Subject: Re: Want to boot FAAAST?
- Date: 14 Mar 1996 21:24:51 +0200
- Organization: What, me, organised?
- Sender: oahvenla@hyppynaru.cs.hut.fi
- Distribution: inet
- Message-ID: <jdjag1jo4u4.fsf@hyppynaru.cs.hut.fi>
- References: <4hhk7s$62g@nz12.rz.uni-karlsruhe.de>
- <68771855@0humpty.tomate.tng.oche.de>
- <4hotcm$spd@roadkill.scms.rgu.ac.uk> <439.6642T928T2853@ifi.uio.no>
- <4i6arr$786@info.epfl.ch> <4i6i10$o65@pravda.aa.msen.com>
- NNTP-Posting-Host: hyppynaru.cs.hut.fi
- Mime-Version: 1.0
- Content-Type: text/plain; charset=US-ASCII
- In-reply-to: crandall@mail.msen.com's message of 13 Mar 1996 13:19:28 GMT
- X-Newsreader: Gnus v5.1
-
- In article <4i6i10$o65@pravda.aa.msen.com> crandall@mail.msen.com (Chad Randall) writes:
- >Philippe Vez (vez@de.epfl.ch) wrote:
- >: I assign ENV: to RAM:Env as made in the startup, and
- >: I "Assign ENV: SYS:Storage/env-storage ADD"
- >: So when someone will read for example overscan.prefs, it didn't find it in
- >: ram:env but in env-storage, Click use and it saves it in ram:env (the primary
- >: assign)..
- >I was pondering the same idea. It seems sound in it's theory. But I'm
- >not sure why no one has mentioned or offered it before now. Why did
- >C= not do this in the first place? There has to be something overlooked.
-
- The theory is fine, yes, too bad it doesn't work:
-
- Ram Disk:> makedir 1
- Ram Disk:> makedir 2
- Ram Disk:> echo foo to 2/zz
- Ram Disk:> assign aa: 1
- Ram Disk:> assign aa: 2 add
- Ram Disk:> type aa:zz
- TYPE can't open aa:zz
- object not found
- Ram Disk:> list aa:
- Directory "aa:" is empty
- Ram Disk:> aa:
- Ram Disk:1> list
- Directory "" is empty
- Ram Disk:1> copy aa:zz aa:
- Can't open zz for input - object not found
- Ram Disk:1> assign
- ...
- Directories:
- aa Ram Disk:1
- + Ram Disk:2
- ...
- Ram Disk:1> llist aa: ; llist understands multi-assigns correctly
- Directory of "Ram Disk:1/" on Thursday 14-Mar-96
- Directory is empty
-
- Directory of "Ram Disk:2/" on Thursday 14-Mar-96
- ----rwed 4 Today 21:07:35 zz
- 1 file - 4 bytes total
-
- TOTAL: 1 file - 4 bytes total
- Ram Disk:1>
-
- Why isn't ENV: done using Assign ADD? because ExAll(),
- Lock()+CurrentDir(), and any other DOS function that accesses a
- directory (as opposed to a file; Open("aa:zz", MODE_OLDFILE) would
- have worked but few AmigaDOS CLI programs do things the
- straightforward way) only sees the contents of the primary directory.
-
- --
- He who spends a storm beneath a tree, takes life with a grain of TNT.
- | "Osma Ahvenlampi" <mailto:oa@iki.fi> <http://www.iki.fi/oa/> |
- | Amiga&BeBox&ClassAct&Voodoo&ARTech cool stuff: I-Net225&AWeb |
- --
-